package cn.shyouchi.wuguanjia.android.ui.event.arrange;

import java.util.Date;
import java.util.List;

import cn.shyouchi.wuguanjia.android.base.BasePresenter;
import cn.shyouchi.wuguanjia.android.base.BaseView;
import cn.shyouchi.wuguanjia.android.ui.event.labor.LaborRequestEntity;

/**
 * Created by Eenie on 2016/11/16 at 15:58
 * Email: 472279981@qq.com
 * Des:
 */

public interface EventArrangeContract {



    interface View extends BaseView {

        void onDataRefresh(List<LaborRequestEntity.ResultMessageBean> resultMessageBeen);

        void onPersonRankRefresh(List<PersonRankAdapter> personRankAdapters);

        void onItemClick(LaborRequestEntity.ResultMessageBean entity);

        void onRemoteArrangeChange(List<RemoteArrangeEntity.ResultMessageBean> remoteArrange);

        void onDelClick();

        boolean isSave();

        void showAlert();

    }

    interface Presenter extends BasePresenter<View> {

        void getArrangeList(String projectId, Date date);


        void delArrange(String projectId, String id);


        void addArrange(String projectid, String title, String startTime, String endTime);
    }

}
